﻿<%@ Page Title="Contact" Language="VB" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Contact.aspx.vb" Inherits="webfinancegdrassign4.Contact" %>
 <%--Smart Money Saver -  Project for University of Herts--%>
 <%--Date: 01 December 2013--%>   
 <%--Version 1--%>
 <%--Project Brief Description - This is a Smart Money Saver asp.net product using VB.net. It is intended to be used by Smart Money Savers  who want to make and save money and earn a certain amount for themselves--%>
 <%--Program Brief Description - This is the about site program file. It gives you basic text information about what this site is about. --%>
 <%--Changes - Removed current Text --%>
 <%--Changes - Added in a grid view field, connection field to database and table smartinvesto_info and field - about_website. It actually selects data from database to page--%>

 <%--Update 1 -  23rd December 2013--%>
 <%--Update 2 -  28th December 2013--%>
 <%--Update 3 -  01 Jan 2014 - About.aspx - Gene Da Rocha - update - select url location for images on page.  --%>
 <%--03 Jan 2014 - About.aspx - Gene Da Rocha - update - Change Table Name to SMS_INFO from smartinvestor_info.  --%>

<asp:Content ID="BodyContent" ContentPlaceHolderID="MainContent" runat="server">
    <header>
        <br />
        <br />
        <br />
        <h1>Contact</h1>

           <%--Changes - Grid View and connection to database to select data Gene Da Rocha - 28th Dec 2013--%>
            
            <%--01 Jan 2014 - About.aspx - Gene Da Rocha - update - select url location for images on page.  --%>

             <%--03 Jan 2014 - About.aspx - Gene Da Rocha - update - Change Table Name to SMS_INFO from smartinvestor_info.  --%>
            <br />
                
                   <asp:GridView ID="GridView2" runat="server" DataSourceID="SqlDataSource002" AutoGenerateColumns="False" BorderStyle="None" GridLines="None" ShowHeader="False">
                <Columns>
                <asp:ImageField DataImageUrlField="about_image1" ControlStyle-Height="183" ControlStyle-Width="275">
                    <ControlStyle CssClass="image" />
                </asp:ImageField>

                <asp:ImageField DataImageUrlField="about_image2" ControlStyle-Height="183" ControlStyle-Width="275">
                        <ControlStyle CssClass="image" />
                 </asp:ImageField>

                 <asp:ImageField DataImageUrlField="about_image3" ControlStyle-Height="183" ControlStyle-Width="275">
                        <ControlStyle CssClass="image" />
                 </asp:ImageField>

                </Columns>
            </asp:GridView>
             <%--03 Jan 2014 - About.aspx - Gene Da Rocha - update - Change Table Name to SMS_INFO from smartinvestor_info.  --%>
            <asp:SqlDataSource ID="SqlDataSource002" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString002 %>" ProviderName="<%$ ConnectionStrings:ConnectionString002.ProviderName %>" SelectCommand="SELECT [about_image1], [about_image2], [about_image3] FROM [sms_images]"></asp:SqlDataSource>
     
                <asp:GridView ID="GridView3" runat="server" AllowSorting="True" AutoGenerateColumns="False" DataSourceID="SqlDataSource1" BorderStyle="None" CellPadding="5" CellSpacing="5" GridLines="None" Font-Names="Arial" Font-Size="Small">
                    <Columns>
                        <asp:BoundField DataField="contact_website"  SortExpression="contact_website"  />
                    </Columns>
                </asp:GridView>
                <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString001 %>" ProviderName="<%$ ConnectionStrings:ConnectionString001.ProviderName %>" SelectCommand="SELECT [contact_website] FROM [sms_info]">
                </asp:SqlDataSource>
  
                  </header>
       <address>
        <i class="icon-envelope"></i><strong>Support:&nbsp;&nbsp;&nbsp;&nbsp;  </strong><a href="mailto:genedarocha@gmail.com">Marketing@SmartMoneySaver.com</a><br />
        <i class="icon-envelope"></i><strong>Marketing:</strong> <a href="mailto:genedarocha@gmail.com">Support@SmartMoneySaver.com</a>
    </address> 
    </asp:Content>
